//
//  TKIMDataDecoderProtocol.h
//  TKIM_Thinkive
//
//  Created by liupm on 16/6/25.
//  Copyright © 2016年 liupm. All rights reserved.
//

/**
 *  @Author lpm, 16-06-25 09:06:43
 *
 *  @brief  IM数据解析协议
 */
@protocol TKIMXmppDecoderProtocol <NSObject,TKIMDataDecoderProtocol>

/**
 *  @Author lpm, 15-09-17 16:09:02
 *
 *  @brief  解析搜索好友列表
 *
 *  @param ele
 */
-(NSMutableArray *)decodeXmlnsSearch:(TKIMNSXMLElement *)ele;


/**
 *  @Author lpm, 15-11-27 13:11:31
 *
 *  @brief  解析好友头像
 *
 *  @param items
 *  @param friends
 *  @param callback
 */
-(void)decodeXmlnsUserHeads:(NSArray *)items friends:(NSMutableDictionary *)friends callBack:(void(^)(NSMutableDictionary *results))callback;


@end